package cn.afterturn.easypoi.word.bookmarkutil;

import cn.afterturn.easypoi.util.PoiElUtil;
import cn.afterturn.easypoi.word.entity.bookmark.ExportExecel.Constant;

public class BooknameUtil {
    public static String BookMarkType(String content){
        String booktype;
        if(content.contains(Constant.NOW)||content.contains(PoiElUtil.FOREACH)||
                content.contains(PoiElUtil.LENGTH)
                ||content.contains(Constant.PICTURE)||content.contains(Constant.THREECOMPUTEASK)){
            booktype= Constant.ComputedbookMark;
        }else {
            booktype=Constant.NormalbookMark;
        }
        return booktype;
    }
}
